package kau.vo;

public class SmsList {
	
	private int smsId;
	private int courseId;
	private String startTime;
	private String endTime;
	private String message;
	
	public SmsList() {	}

	public SmsList(int smsId, int courseId, String startTime, String endTime,
			String message) {
		super();
		this.smsId = smsId;
		this.courseId = courseId;
		this.startTime = startTime;
		this.endTime = endTime;
		this.message = message;
	}

	public int getSmsId() {
		return smsId;
	}

	public void setSmsId(int smsId) {
		this.smsId = smsId;
	}

	public int getCourseId() {
		return courseId;
	}

	public void setCourseId(int courseId) {
		this.courseId = courseId;
	}

	public String getStartTime() {
		return startTime;
	}

	public void setStartTime(String startTime) {
		this.startTime = startTime;
	}

	public String getEndTime() {
		return endTime;
	}

	public void setEndTime(String endTime) {
		this.endTime = endTime;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + courseId;
		result = prime * result + smsId;
		return result;
	}

	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		SmsList other = (SmsList) obj;
		if (courseId != other.courseId)
			return false;
		if (smsId != other.smsId)
			return false;
		return true;
	}

	@Override
	public String toString() {
		return "SmsList [smsId=" + smsId + ", courseId=" + courseId
				+ ", startTime=" + startTime + ", endTime=" + endTime
				+ ", message=" + message + "]";
	}

	
	
}
